home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD Fun House 1
/
CD Fun House (Wayzata Technology).iso
/
•The School House•
/
Dot2Dot •••
/
DDCS
/
DDCS.rsrc
/
CDEF_256_DDCSCDEF.txt
< prev
next >
Wrap
Text File
|
1988-10-20
|
41KB
|
752 lines
start:
00000000 4E56 0000 link A6, 0
00000004 48E7 1F18 movem.l -[A7], D3,D4,D5,D6,D7,A3,A4
00000008 262E 0008 move.l D3, [A6 + 0x8]
0000000C 342E 000C move.w D2, [A6 + 0xC]
00000010 222E 000E move.l D1, [A6 + 0xE]
00000014 302E 0012 move.w D0, [A6 + 0x12]
00000018 4EBA 0014 jsr [PC + 0x14 /* 0000002E */]
0000001C 4CDF 18F8 movem.l D3,D4,D5,D6,D7,A3,A4, [A7]+
00000020 4E5E unlink A6
00000022 205F movea.l A0, [A7]+
00000024 5C8F addq.l A7, 6
00000026 5C8F addq.l A7, 6
00000028 2E80 move.l [A7], D0
0000002A 4ED0 jmp [A0]
0000002C 4E75 rts
fn0000002E:
0000002E 4E56 FFBC link A6, -0x0044
00000032 48EE 600F FFE8 movem.l [A6 - 0x18], D0,D1,D2,D3,A5,A6
00000038 42AE FFE4 clr.l [A6 - 0x1C]
0000003C 206E FFEC movea.l A0, [A6 - 0x14]
00000040 A029 syscall HLock
00000042 302E FFF2 move.w D0, [A6 - 0xE]
00000046 4EFA 0082 jmp [PC + 0x82 /* 000000CA */]
0000004A 322E FFEA move.w D1, [A6 - 0x16]
0000004E 48C1 ext.l D1
00000050 202E FFEC move.l D0, [A6 - 0x14]
00000054 242E FFF4 move.l D2, [A6 - 0xC]
00000058 4EBA 00A2 jsr [PC + 0xA2 /* 000000FC */]
0000005C 4EFA 0090 jmp [PC + 0x90 /* 000000EE */]
00000060 322E FFEA move.w D1, [A6 - 0x16]
00000064 48C1 ext.l D1
00000066 202E FFEC move.l D0, [A6 - 0x14]
0000006A 242E FFF4 move.l D2, [A6 - 0xC]
0000006E 486E FFE4 pea.l [A6 - 0x1C]
00000072 261F move.l D3, [A7]+
00000074 4EBA 02AE jsr [PC + 0x2AE /* 00000324 */]
00000078 4EFA 0074 jmp [PC + 0x74 /* 000000EE */]
0000007C 322E FFEA move.w D1, [A6 - 0x16]
00000080 48C1 ext.l D1
00000082 202E FFEC move.l D0, [A6 - 0x14]
00000086 242E FFF4 move.l D2, [A6 - 0xC]
0000008A 4EBA 02D4 jsr [PC + 0x2D4 /* 00000360 */]
0000008E 4EFA 005E jmp [PC + 0x5E /* 000000EE */]
00000092 322E FFEA move.w D1, [A6 - 0x16]
00000096 48C1 ext.l D1
00000098 202E FFEC move.l D0, [A6 - 0x14]
0000009C 4EBA 02E8 jsr [PC + 0x2E8 /* 00000386 */]
000000A0 4EFA 004C jmp [PC + 0x4C /* 000000EE */]
000000A4 322E FFEA move.w D1, [A6 - 0x16]
000000A8 48C1 ext.l D1
000000AA 202E FFEC move.l D0, [A6 - 0x14]
000000AE 4EBA 045A jsr [PC + 0x45A /* 0000050A */]
000000B2 4EFA 003A jmp [PC + 0x3A /* 000000EE */]
000000B6 4EFA 0036 jmp [PC + 0x36 /* 000000EE */]
000000BA 4EFA 0032 jmp [PC + 0x32 /* 000000EE */]
000000BE 4EFA 002E jmp [PC + 0x2E /* 000000EE */]
000000C2 4EFA 002A jmp [PC + 0x2A /* 000000EE */]
000000C6 4EFA 0026 jmp [PC + 0x26 /* 000000EE */]
label000000CA:
000000CA 0C40 0008 cmpi.w D0, 0x8
000000CE 6200 001E bhi +0x20 /* 000000EE */
000000D2 E348 lsl D0.w, 1
000000D4 303B 0006 move.w D0, [PC + D0.w + 0x6]
000000D8 4EFB 0002 jmp [PC + D0.w + 0x2]
000000DC FF6E .extension 0xF6E <<F/4-5/7>> // unimplemented
000000DE FF84 .invalid <<F/6/7>>
000000E0 FFA0 .invalid <<F/6/7>>
000000E2 FFB6 .invalid <<F/6/7>>
000000E4 FFC8 .invalid <<F/7/7>>
000000E6 FFDA .invalid <<F/7/7>>
000000E8 FFDE .invalid <<F/7/7>>
000000EA FFE2 .invalid <<F/7/7>>
000000EC FFE6 .invalid <<F/7/7>>
label000000EE:
000000EE 206E FFEC movea.l A0, [A6 - 0x14]
000000F2 A02A syscall HUnlock
000000F4 202E FFE4 move.l D0, [A6 - 0x1C]
000000F8 4E5E unlink A6
000000FA 4E75 rts
fn000000FC:
000000FC 4E56 FF84 link A6, -0x007C
00000100 48EE 6007 FFEC movem.l [A6 - 0x14], D0,D1,D2,A5,A6
00000106 206E FFEC movea.l A0, [A6 - 0x14]
0000010A 2050 movea.l A0, [A0]
0000010C 1E28 0010 move.b D7, [A0 + 0x10]
00000110 6700 020E beq +0x210 /* 00000320 */
00000114 2D7C FFFF FFFF FFCE move.l [A6 - 0x32], 0xFFFFFFFF
0000011C 2D7C FFFF FFFF FFD2 move.l [A6 - 0x2E], 0xFFFFFFFF
00000124 206E FFEC movea.l A0, [A6 - 0x14]
00000128 2050 movea.l A0, [A0]
0000012A 3D68 000A FFBC move.w [A6 - 0x44], [A0 + 0xA]
00000130 206E FFEC movea.l A0, [A6 - 0x14]
00000134 2050 movea.l A0, [A0]
00000136 3D68 000E FFBA move.w [A6 - 0x46], [A0 + 0xE]
0000013C 206E FFEC movea.l A0, [A6 - 0x14]
00000140 2050 movea.l A0, [A0]
00000142 3D68 0008 FFB8 move.w [A6 - 0x48], [A0 + 0x8]
00000148 206E FFEC movea.l A0, [A6 - 0x14]
0000014C 2050 movea.l A0, [A0]
0000014E 3D68 000C FFB6 move.w [A6 - 0x4A], [A0 + 0xC]
00000154 206E FFEC movea.l A0, [A6 - 0x14]
00000158 2050 movea.l A0, [A0]
0000015A 2D68 001C FFBE move.l [A6 - 0x42], [A0 + 0x1C]
00000160 486E FFD6 pea.l [A6 - 0x2A]
00000164 A898 syscall GetPenState
00000166 3F3C 0001 move.w -[A7], 0x1
0000016A 3F3C 0001 move.w -[A7], 0x1
0000016E A89B syscall PenSize
00000170 486E FFCE pea.l [A6 - 0x32]
00000174 A89D syscall PenPat
00000176 2F2E FFBE move.l -[A7], [A6 - 0x42]
0000017A 3F3C 0001 move.w -[A7], 0x1
0000017E 3F3C 0001 move.w -[A7], 0x1
00000182 A8E1 syscall InsetRgn
00000184 206E FFEC movea.l A0, [A6 - 0x14]
00000188 2050 movea.l A0, [A0]
0000018A 1E28 0011 move.b D7, [A0 + 0x11]
0000018E 6600 0086 bne +0x88 /* 00000216 */
00000192 2F2E FFBE move.l -[A7], [A6 - 0x42]
00000196 A8D4 syscall EraseRgn
00000198 42A7 clr.l -[A7]
0000019A A8D8 syscall NewRgn
0000019C 205F movea.l A0, [A7]+
0000019E 2D48 FFC2 move.l [A6 - 0x3E], A0
000001A2 2F2E FFC2 move.l -[A7], [A6 - 0x3E]
000001A6 A87A syscall GetClip
000001A8 2F2E FFBE move.l -[A7], [A6 - 0x42]
000001AC A879 syscall SetClip
000001AE 302E FFBA move.w D0, [A6 - 0x46]
000001B2 906E FFBC sub.w D0, [A6 - 0x44]
000001B6 0440 0020 subi.w D0, 0x20 /* ' ' */
000001BA E240 asr D0.w, 1
000001BC 3D40 FFB4 move.w [A6 - 0x4C], D0
000001C0 486E FFC6 pea.l [A6 - 0x3A]
000001C4 302E FFBC move.w D0, [A6 - 0x44]
000001C8 D06E FFB4 add.w D0, [A6 - 0x4C]
000001CC 3F00 move.w -[A7], D0
000001CE 302E FFB8 move.w D0, [A6 - 0x48]
000001D2 D06E FFB4 add.w D0, [A6 - 0x4C]
000001D6 3F00 move.w -[A7], D0
000001D8 302E FFBC move.w D0, [A6 - 0x44]
000001DC D06E FFB4 add.w D0, [A6 - 0x4C]
000001E0 0640 0020 addi.w D0, 0x20 /* ' ' */
000001E4 3F00 move.w -[A7], D0
000001E6 302E FFB8 move.w D0, [A6 - 0x48]
000001EA D06E FFB4 add.w D0, [A6 - 0x4C]
000001EE 0640 0020 addi.w D0, 0x20 /* ' ' */
000001F2 3F00 move.w -[A7], D0
000001F4 A8A7 syscall SetRect
000001F6 486E FFC6 pea.l [A6 - 0x3A]
000001FA 206E FFEC movea.l A0, [A6 - 0x14]
000001FE 2050 movea.l A0, [A0]
00000200 2F28 0024 move.l -[A7], [A0 + 0x24]
00000204 A94B syscall PlotIcon
00000206 2F2E FFC2 move.l -[A7], [A6 - 0x3E]
0000020A A879 syscall SetClip
0000020C 2F2E FFC2 move.l -[A7], [A6 - 0x3E]
00000210 A8D9 syscall DisposRgn/DisposeRgn
00000212 4EFA 00F2 jmp [PC + 0xF2 /* 00000306 */]
label00000216:
00000216 206E FFEC movea.l A0, [A6 - 0x14]
0000021A 2050 movea.l A0, [A0]
0000021C 0C28 0001 0011 cmpi.b [A0 + 0x11], 0x1
00000222 6600 00E2 bne +0xE4 /* 00000306 */
00000226 206E FFEC movea.l A0, [A6 - 0x14]
0000022A 2050 movea.l A0, [A0]
0000022C 2D68 0004 FFE8 move.l [A6 - 0x18], [A0 + 0x4]
00000232 206E FFE8 movea.l A0, [A6 - 0x18]
00000236 3D68 0044 FFB2 move.w [A6 - 0x4E], [A0 + 0x44]
0000023C 206E FFE8 movea.l A0, [A6 - 0x18]
00000240 3D68 0046 FFB0 move.w [A6 - 0x50], [A0 + 0x46]
00000246 206E FFE8 movea.l A0, [A6 - 0x18]
0000024A 3D68 0048 FFAE move.w [A6 - 0x52], [A0 + 0x48]
00000250 206E FFE8 movea.l A0, [A6 - 0x18]
00000254 3D68 004A FFAC move.w [A6 - 0x54], [A0 + 0x4A]
0000025A 206E FFE8 movea.l A0, [A6 - 0x18]
0000025E 4268 0044 clr.w [A0 + 0x44]
00000262 206E FFE8 movea.l A0, [A6 - 0x18]
00000266 4268 0046 clr.w [A0 + 0x46]
0000026A 206E FFE8 movea.l A0, [A6 - 0x18]
0000026E 317C 0001 0048 move.w [A0 + 0x48], 0x1
00000274 206E FFE8 movea.l A0, [A6 - 0x18]
00000278 317C 000C 004A move.w [A0 + 0x4A], 0xC
0000027E 2F2E FFBE move.l -[A7], [A6 - 0x42]
00000282 A8D4 syscall EraseRgn
00000284 4267 clr.w -[A7]
00000286 206E FFEC movea.l A0, [A6 - 0x14]
0000028A 2050 movea.l A0, [A0]
0000028C D1FC 0000 0028 add.l A0, 0x28 /* '(' */
00000292 2F08 move.l -[A7], A0
00000294 A88C syscall StringWidth
00000296 301F move.w D0, [A7]+
00000298 3D40 FFB4 move.w [A6 - 0x4C], D0
0000029C 302E FFBC move.w D0, [A6 - 0x44]
000002A0 D06E FFBA add.w D0, [A6 - 0x46]
000002A4 906E FFB4 sub.w D0, [A6 - 0x4C]
000002A8 E240 asr D0.w, 1
000002AA 3D40 FFBC move.w [A6 - 0x44], D0
000002AE 302E FFB8 move.w D0, [A6 - 0x48]
000002B2 D06E FFB6 add.w D0, [A6 - 0x4A]
000002B6 E240 asr D0.w, 1
000002B8 5A40 addq.w D0, 5
000002BA 3D40 FFB8 move.w [A6 - 0x48], D0
000002BE 3F2E FFBC move.w -[A7], [A6 - 0x44]
000002C2 3F2E FFB8 move.w -[A7], [A6 - 0x48]
000002C6 A893 syscall MoveTo
000002C8 206E FFEC movea.l A0, [A6 - 0x14]
000002CC 2050 movea.l A0, [A0]
000002CE D1FC 0000 0028 add.l A0, 0x28 /* '(' */
000002D4 2F08 move.l -[A7], A0
000002D6 A884 syscall DrawString
000002D8 2F2E FFBE move.l -[A7], [A6 - 0x42]
000002DC A8D5 syscall InverRgn/InvertRgn
000002DE 206E FFE8 movea.l A0, [A6 - 0x18]
000002E2 316E FFB2 0044 move.w [A0 + 0x44], [A6 - 0x4E]
000002E8 206E FFE8 movea.l A0, [A6 - 0x18]
000002EC 316E FFB0 0046 move.w [A0 + 0x46], [A6 - 0x50]
000002F2 206E FFE8 movea.l A0, [A6 - 0x18]
000002F6 316E FFAE 0048 move.w [A0 + 0x48], [A6 - 0x52]
000002FC 206E FFE8 movea.l A0, [A6 - 0x18]
00000300 316E FFAC 004A move.w [A0 + 0x4A], [A6 - 0x54]
label00000306:
00000306 2F2E FFBE move.l -[A7], [A6 - 0x42]
0000030A 3F3C FFFF move.w -[A7], 0xFFFF
0000030E 3F3C FFFF move.w -[A7], 0xFFFF
00000312 A8E1 syscall InsetRgn
00000314 2F2E FFBE move.l -[A7], [A6 - 0x42]
00000318 A8D2 syscall FrameRgn
0000031A 486E FFD6 pea.l [A6 - 0x2A]
0000031E A899 syscall SetPenState
label00000320:
00000320 4E5E unlink A6
00000322 4E75 rts
fn00000324:
00000324 4E56 FFC0 link A6, -0x0040
00000328 48EE 600F FFE8 movem.l [A6 - 0x18], D0,D1,D2,D3,A5,A6
0000032E 4227 clr.b -[A7]
00000330 2F2E FFF0 move.l -[A7], [A6 - 0x10]
00000334 206E FFE8 movea.l A0, [A6 - 0x18]
00000338 2050 movea.l A0, [A0]
0000033A 2F28 001C move.l -[A7], [A0 + 0x1C]
0000033E A8E8 syscall PtInRgn
00000340 101F move.b D0, [A7]+
00000342 4A00 tst.b D0
00000344 6700 0010 beq +0x12 /* 00000356 */
00000348 206E FFF4 movea.l A0, [A6 - 0xC]
0000034C 20BC 0000 0001 move.l [A0], 0x1
00000352 4EFA 0008 jmp [PC + 0x8 /* 0000035C */]
label00000356:
00000356 206E FFF4 movea.l A0, [A6 - 0xC]
0000035A 4290 clr.l [A0]
label0000035C:
0000035C 4E5E unlink A6
0000035E 4E75 rts
fn00000360:
00000360 4E56 FFC4 link A6, -0x003C
00000364 48EE 6007 FFEC movem.l [A6 - 0x14], D0,D1,D2,A5,A6
0000036A 02AE 00FF FFFF FFF4 andi.l [A6 - 0xC], 0xFFFFFF
00000372 206E FFEC movea.l A0, [A6 - 0x14]
00000376 2050 movea.l A0, [A0]
00000378 2F28 001C move.l -[A7], [A0 + 0x1C]
0000037C 2F2E FFF4 move.l -[A7], [A6 - 0xC]
00000380 A8DC syscall CopyRgn
00000382 4E5E unlink A6
00000384 4E75 rts
fn00000386:
00000386 4E56 FFB4 link A6, -0x004C
0000038A 48EE 6003 FFF0 movem.l [A6 - 0x10], D0,D1,A5,A6
00000390 42A7 clr.l -[A7]
00000392 A8D8 syscall NewRgn
00000394 205F movea.l A0, [A7]+
00000396 2D48 FFEC move.l [A6 - 0x14], A0
0000039A A8DA syscall OpenRgn
0000039C 0C6E 0001 FFF6 cmpi.w [A6 - 0xA], 0x1
000003A2 6600 0012 bne +0x14 /* 000003B6 */
000003A6 206E FFF0 movea.l A0, [A6 - 0x10]
000003AA 2050 movea.l A0, [A0]
000003AC 5088 addq.l A0, 8
000003AE 2F08 move.l -[A7], A0
000003B0 A8B7 syscall FrameOval
000003B2 4EFA 011A jmp [PC + 0x11A /* 000004CE */]
label000003B6:
000003B6 3E2E FFF6 move.w D7, [A6 - 0xA]
000003BA 6600 0112 bne +0x114 /* 000004CE */
000003BE 206E FFF0 movea.l A0, [A6 - 0x10]
000003C2 2050 movea.l A0, [A0]
000003C4 3D68 000A FFE2 move.w [A6 - 0x1E], [A0 + 0xA]
000003CA 206E FFF0 movea.l A0, [A6 - 0x10]
000003CE 2050 movea.l A0, [A0]
000003D0 3D68 000E FFE0 move.w [A6 - 0x20], [A0 + 0xE]
000003D6 206E FFF0 movea.l A0, [A6 - 0x10]
000003DA 2050 movea.l A0, [A0]
000003DC 3D68 0008 FFDE move.w [A6 - 0x22], [A0 + 0x8]
000003E2 206E FFF0 movea.l A0, [A6 - 0x10]
000003E6 2050 movea.l A0, [A0]
000003E8 3D68 000C FFDC move.w [A6 - 0x24], [A0 + 0xC]
000003EE 302E FFE0 move.w D0, [A6 - 0x20]
000003F2 906E FFE2 sub.w D0, [A6 - 0x1E]
000003F6 C1FC 2710 muls.w D0, 0x2710
000003FA 0680 0000 2F27 addi.l D0, 0x2F27 /* '/\'' */
00000400 223C 0000 5E4E move.l D1, 0x5E4E /* '^N' */
00000406 C141 exg D0, D1
00000408 4EBA 028C jsr [PC + 0x28C /* 00000696 */]
0000040C 2001 move.l D0, D1
0000040E 2D40 FFE8 move.l [A6 - 0x18], D0
00000412 302E FFE0 move.w D0, [A6 - 0x20]
00000416 906E FFE2 sub.w D0, [A6 - 0x1E]
0000041A 48C0 ext.l D0
0000041C 90AE FFE8 sub.l D0, [A6 - 0x18]
00000420 E280 asr D0, 1
00000422 2D40 FFE4 move.l [A6 - 0x1C], D0
00000426 3F2E FFE2 move.w -[A7], [A6 - 0x1E]
0000042A 302E FFDE move.w D0, [A6 - 0x22]
0000042E 48C0 ext.l D0
00000430 D0AE FFE4 add.l D0, [A6 - 0x1C]
00000434 3F00 move.w -[A7], D0
00000436 A893 syscall MoveTo
00000438 302E FFE2 move.w D0, [A6 - 0x1E]
0000043C 48C0 ext.l D0
0000043E D0AE FFE4 add.l D0, [A6 - 0x1C]
00000442 3F00 move.w -[A7], D0
00000444 3F2E FFDE move.w -[A7], [A6 - 0x22]
00000448 A891 syscall LineTo
0000044A 302E FFE0 move.w D0, [A6 - 0x20]
0000044E 48C0 ext.l D0
00000450 90AE FFE4 sub.l D0, [A6 - 0x1C]
00000454 5380 subq.l D0, 1
00000456 3F00 move.w -[A7], D0
00000458 3F2E FFDE move.w -[A7], [A6 - 0x22]
0000045C A891 syscall LineTo
0000045E 3F2E FFE0 move.w -[A7], [A6 - 0x20]
00000462 302E FFDE move.w D0, [A6 - 0x22]
00000466 48C0 ext.l D0
00000468 D0AE FFE4 add.l D0, [A6 - 0x1C]
0000046C 5480 addq.l D0, 2
0000046E 3F00 move.w -[A7], D0
00000470 A891 syscall LineTo
00000472 3F2E FFE0 move.w -[A7], [A6 - 0x20]
00000476 302E FFDC move.w D0, [A6 - 0x24]
0000047A 48C0 ext.l D0
0000047C 90AE FFE4 sub.l D0, [A6 - 0x1C]
00000480 5380 subq.l D0, 1
00000482 3F00 move.w -[A7], D0
00000484 A891 syscall LineTo
00000486 302E FFE0 move.w D0, [A6 - 0x20]
0000048A 48C0 ext.l D0
0000048C 90AE FFE4 sub.l D0, [A6 - 0x1C]
00000490 3F00 move.w -[A7], D0
00000492 3F2E FFDC move.w -[A7], [A6 - 0x24]
00000496 A891 syscall LineTo
00000498 302E FFE2 move.w D0, [A6 - 0x1E]
0000049C 48C0 ext.l D0
0000049E D0AE FFE4 add.l D0, [A6 - 0x1C]
000004A2 3F00 move.w -[A7], D0
000004A4 3F2E FFDC move.w -[A7], [A6 - 0x24]
000004A8 A891 syscall LineTo
000004AA 3F2E FFE2 move.w -[A7], [A6 - 0x1E]
000004AE 302E FFDC move.w D0, [A6 - 0x24]
000004B2 48C0 ext.l D0
000004B4 90AE FFE4 sub.l D0, [A6 - 0x1C]
000004B8 3F00 move.w -[A7], D0
000004BA A891 syscall LineTo
000004BC 3F2E FFE2 move.w -[A7], [A6 - 0x1E]
000004C0 302E FFDE move.w D0, [A6 - 0x22]
000004C4 48C0 ext.l D0
000004C6 D0AE FFE4 add.l D0, [A6 - 0x1C]
000004CA 3F00 move.w -[A7], D0
000004CC A891 syscall LineTo
label000004CE:
000004CE 2F2E FFEC move.l -[A7], [A6 - 0x14]
000004D2 A8DB syscall CloseRgn
000004D4 206E FFF0 movea.l A0, [A6 - 0x10]
000004D8 2050 movea.l A0, [A0]
000004DA 216E FFEC 001C move.l [A0 + 0x1C], [A6 - 0x14]
000004E0 42A7 clr.l -[A7]
000004E2 206E FFF0 movea.l A0, [A6 - 0x10]
000004E6 2050 movea.l A0, [A0]
000004E8 3F28 0026 move.w -[A7], [A0 + 0x26]
000004EC A9BB syscall GetIcon
000004EE 205F movea.l A0, [A7]+
000004F0 2D48 FFEC move.l [A6 - 0x14], A0
000004F4 206E FFF0 movea.l A0, [A6 - 0x10]
000004F8 2050 movea.l A0, [A0]
000004FA 216E FFEC 0024 move.l [A0 + 0x24], [A6 - 0x14]
00000500 206E FFEC movea.l A0, [A6 - 0x14]
00000504 A04A syscall HNoPurge
00000506 4E5E unlink A6
00000508 4E75 rts
fn0000050A:
0000050A 4E56 FFA4 link A6, -0x005C
0000050E 48EE 6003 FFF0 movem.l [A6 - 0x10], D0,D1,A5,A6
00000514 206E FFF0 movea.l A0, [A6 - 0x10]
00000518 2050 movea.l A0, [A0]
0000051A 2F28 001C move.l -[A7], [A0 + 0x1C]
0000051E A8D9 syscall DisposRgn/DisposeRgn
00000520 206E FFF0 movea.l A0, [A6 - 0x10]
00000524 2050 movea.l A0, [A0]
00000526 2D68 0024 FFEC move.l [A6 - 0x14], [A0 + 0x24]
0000052C 2F2E FFEC move.l -[A7], [A6 - 0x14]
00000530 486E FFEA pea.l [A6 - 0x16]
00000534 486E FFE6 pea.l [A6 - 0x1A]
00000538 486E FFCC pea.l [A6 - 0x34]
0000053C A9A8 syscall GetResInfo
0000053E 206E FFF0 movea.l A0, [A6 - 0x10]
00000542 2050 movea.l A0, [A0]
00000544 302E FFEA move.w D0, [A6 - 0x16]
00000548 48C0 ext.l D0
0000054A 2140 0024 move.l [A0 + 0x24], D0
0000054E 206E FFEC movea.l A0, [A6 - 0x14]
00000552 A049 syscall HPurge
00000554 4E5E unlink A6
00000556 4E75 rts
00000558 0000 0000 ori.b D0, 0x0
0000055C 42A7 clr.l -[A7]
0000055E 2F3C 434F 4445 move.l -[A7], 0x434F4445 /* 'CODE' */
00000564 3F3C 00FF move.w -[A7], 0xFF
00000568 A9A0 syscall GetResource
0000056A 201F move.l D0, [A7]+
0000056C 6700 00C6 beq +0xC8 /* 00000634 */
00000570 2F00 move.l -[A7], D0
00000572 42A7 clr.l -[A7]
00000574 2F3C 434F 4445 move.l -[A7], 0x434F4445 /* 'CODE' */
0000057A 3F3C 0001 move.w -[A7], 0x1
0000057E A9A0 syscall GetResource
00000580 41FA FFD6 lea.l A0, [PC - 0x2A /* 00000558, value 0x0, cstring "" */]
00000584 225F movea.l A1, [A7]+
00000586 2011 move.l D0, [A1]
00000588 0280 00FF FFFF andi.l D0, 0xFFFFFF
0000058E 5880 addq.l D0, 4
00000590 2080 move.l [A0], D0
00000592 205F movea.l A0, [A7]+
00000594 2848 movea.l A4, A0
00000596 A025 syscall GetHandleSize
00000598 2800 move.l D4, D0
0000059A 5D84 subq.l D4, 6
0000059C A029 syscall HLock
0000059E 2050 movea.l A0, [A0]
000005A0 3218 move.w D1, [A0]+
000005A2 0241 007F andi.w D1, 0x7F
000005A6 3418 move.w D2, [A0]+
000005A8 3618 move.w D3, [A0]+
000005AA 48C2 ext.l D2
000005AC 48C3 ext.l D3
000005AE 264D movea.l A3, A5
000005B0 97C2 sub.l A3, D2
000005B2 97C3 sub.l A3, D3
000005B4 244D movea.l A2, A5
000005B6 3E01 move.w D7, D1
000005B8 0241 000E andi.w D1, 0xE
000005BC 6700 0010 beq +0x12 /* 000005CE */
000005C0 2003 move.l D0, D3
000005C2 A11E syscall NewPtr, flags=1
000005C4 665C bne +0x5E /* 00000622 */
000005C6 2648 movea.l A3, A0
000005C8 2448 movea.l A2, A0
000005CA D5C2 add.l A2, D2
000005CC D5C3 add.l A2, D3
label000005CE:
000005CE 3003 move.w D0, D3
000005D0 E248 lsr D0.w, 1
label000005D2:
000005D2 5340 subq.w D0, 1
000005D4 6B04 bmi +0x6 /* 000005DA */
000005D6 425B clr.w [A3]+
000005D8 60F8 bra -0x6 /* 000005D2 */
label000005DA:
000005DA 2054 movea.l A0, [A4]
000005DC 5C48 addq.w A0, 6
label000005DE:
000005DE 5184 subq.l D4, 8
000005E0 6B40 bmi +0x42 /* 00000622 */
000005E2 2018 move.l D0, [A0]+
000005E4 2218 move.l D1, [A0]+
000005E6 3A00 move.w D5, D0
000005E8 4840 swap.w D0
000005EA E048 lsr D0.w, 8
000005EC 3C00 move.w D6, D0
000005EE E408 lsr D0.b, 2
000005F0 6700 000E beq +0x10 /* 00000600 */
000005F4 5300 subq.b D0, 1
000005F6 6724 beq +0x26 /* 0000061C */
000005F8 227A FF5E movea.l A1, [PC - 0xA2 /* 00000558, value 0x0, cstring "" */]
000005FC D3C1 add.l A1, D1
label000005FE:
000005FE 2209 move.l D1, A1
label00000600:
00000600 0246 0003 andi.w D6, 0x3
00000604 6710 beq +0x12 /* 00000616 */
00000606 5346 subq.w D6, 1
00000608 6706 beq +0x8 /* 00000610 */
0000060A 2581 5000 move.l [A2 + D5.w], D1
0000060E 60CE bra -0x30 /* 000005DE */
label00000610:
00000610 3581 5000 move.w [A2 + D5.w], D1
00000614 60C8 bra -0x36 /* 000005DE */
label00000616:
00000616 1581 5000 move.b [A2 + D5.w], D1
0000061A 60C2 bra -0x3C /* 000005DE */
label0000061C:
0000061C 43F2 1000 lea.l A1, [A2 + D1.w]
00000620 60DC bra -0x22 /* 000005FE */
label00000622:
00000622 2F0A move.l -[A7], A2
00000624 204C movea.l A0, A4
00000626 A02A syscall HUnlock
00000628 2F0C move.l -[A7], A4
0000062A A9A3 syscall ReleaseResource
0000062C 245F movea.l A2, [A7]+
0000062E 224A movea.l A1, A2
00000630 264A movea.l A3, A2
00000632 284A movea.l A4, A2
label00000634:
00000634 4E75 rts
00000636 225F movea.l A1, [A7]+
00000638 2D4F FFF8 move.l [A6 - 0x8], A7
0000063C 2D49 FFFC move.l [A6 - 0x4], A1
00000640 4280 clr.l D0
00000642 2040 movea.l A0, D0
00000644 4ED1 jmp [A1]
label00000646:
00000646 4E5E unlink A6
00000648 286E FFFC movea.l A4, [A6 - 0x4]
0000064C B9CE cmpa.l A4, A6
0000064E 67F6 beq -0x8 /* 00000646 */
00000650 2E6E FFF8 movea.l A7, [A6 - 0x8]
00000654 2040 movea.l A0, D0
00000656 4ED4 jmp [A4]
00000658 4A80 tst.l D0
0000065A 6B08 bmi +0xA /* 00000664 */
0000065C 4A81 tst.l D1
0000065E 6B00 0010 bmi +0x12 /* 00000670 */
00000662 600A bra +0xC /* 0000066E */
label00000664:
00000664 4A81 tst.l D1
00000666 6C00 0010 bge +0x12 /* 00000678 */
0000066A 4480 neg.l D0
0000066C 4481 neg.l D1
label0000066E:
0000066E 600C bra +0xE /* 0000067C */
label00000670:
00000670 4481 neg.l D1
label00000672:
00000672 6108 bsr +0xA /* 0000067C */
00000674 4481 neg.l D1
00000676 4E75 rts
label00000678:
00000678 4480 neg.l D0
0000067A 60F6 bra -0x8 /* 00000672 */
fn0000067C:
0000067C 2E01 move.l D7, D1
0000067E 4847 swap.w D7
00000680 CEC0 mulu.w D7, D0
00000682 3F07 move.w -[A7], D7
00000684 2E00 move.l D7, D0
00000686 4847 swap.w D7
00000688 CEC1 mulu.w D7, D1
0000068A C2C0 mulu.w D1, D0
0000068C DE5F add.w D7, [A7]+
0000068E 4847 swap.w D7
00000690 4247 clr.w D7
00000692 D287 add.l D1, D7
00000694 4E75 rts
fn00000696:
00000696 4A80 tst.l D0
00000698 6B08 bmi +0xA /* 000006A2 */
0000069A 4A81 tst.l D1
0000069C 6B00 0010 bmi +0x12 /* 000006AE */
000006A0 600A bra +0xC /* 000006AC */
label000006A2:
000006A2 4A81 tst.l D1
000006A4 6C00 0012 bge +0x14 /* 000006B8 */
000006A8 4480 neg.l D0
000006AA 4481 neg.l D1
label000006AC:
000006AC 600E bra +0x10 /* 000006BC */
label000006AE:
000006AE 4481 neg.l D1
label000006B0:
000006B0 610A bsr +0xC /* 000006BC */
000006B2 4480 neg.l D0
000006B4 4481 neg.l D1
000006B6 4E75 rts
label000006B8:
000006B8 4480 neg.l D0
000006BA 60F4 bra -0xA /* 000006B0 */
fn000006BC:
000006BC 4A80 tst.l D0
000006BE 6736 beq +0x38 /* 000006F6 */
000006C0 4247 clr.w D7
label000006C2:
000006C2 B280 cmp.l D1, D0
000006C4 650C bcs +0xE /* 000006D2 */
000006C6 5247 addq.w D7, 1
000006C8 4A80 tst.l D0
000006CA 6B00 000C bmi +0xE /* 000006D8 */
000006CE E388 lsl D0, 1
000006D0 60F0 bra -0xE /* 000006C2 */
label000006D2:
000006D2 4A47 tst.w D7
000006D4 672A beq +0x2C /* 00000700 */
000006D6 E288 lsr D0, 1
label000006D8:
000006D8 2F02 move.l -[A7], D2
000006DA 2401 move.l D2, D1
000006DC 4281 clr.l D1
label000006DE:
000006DE E389 lsl D1, 1
000006E0 B480 cmp.l D2, D0
000006E2 6504 bcs +0x6 /* 000006E8 */
000006E4 9480 sub.l D2, D0
000006E6 5241 addq.w D1, 1
label000006E8:
000006E8 5347 subq.w D7, 1
000006EA 6F04 ble +0x6 /* 000006F0 */
000006EC E288 lsr D0, 1
000006EE 60EE bra -0x10 /* 000006DE */
label000006F0:
000006F0 2002 move.l D0, D2
000006F2 241F move.l D2, [A7]+
000006F4 4E75 rts
label000006F6:
000006F6 223C 7FFF FFFF move.l D1, 0x7FFFFFFF
000006FC 4280 clr.l D0
000006FE 4E75 rts
label00000700:
00000700 2001 move.l D0, D1
00000702 4281 clr.l D1
00000704 4E75 rts
00000706 48E7 4080 movem.l -[A7], D1,A0
0000070A 3E00 move.w D7, D0
0000070C E048 lsr D0.w, 8
0000070E 3200 move.w D1, D0
00000710 E648 lsr D0.w, 3
00000712 D0C0 add.w A0, D0
00000714 0241 0007 andi.w D1, 0x7
00000718 DE01 add.b D7, D1
0000071A 4280 clr.l D0
0000071C 1018 move.b D0, [A0]+
0000071E C03B 1018 and.b D0, [PC + D1.w + 0x18]
00000722 6002 bra +0x4 /* 00000726 */
label00000724:
00000724 1018 move.b D0, [A0]+
label00000726:
00000726 5107 subq.b D7, 8
00000728 6F04 ble +0x6 /* 0000072E */
0000072A E188 lsl D0, 8
0000072C 60F6 bra -0x8 /* 00000724 */
label0000072E:
0000072E 4447 neg.w D7
00000730 EEA8 lsr D0, D7
00000732 4CDF 0102 movem.l D1,A0, [A7]+
00000736 4E75 rts
00000738 FF7F .extension 0xF7F <<F/4-5/7>> // unimplemented
0000073A 3F1F move.w -[A7], [A7]+
0000073C 0F07 btst D7, D7
0000073E 0301 btst D1, D1
00000740 48E7 FC80 movem.l -[A7], D0,D1,D2,D3,D4,D5,A0
00000744 4282 clr.l D2
00000746 3407 move.w D2, D7
00000748 E04A lsr D2.w, 8
0000074A 4887 ext.w D7
0000074C 2602 move.l D3, D2
0000074E D647 add.w D3, D7
00000750 3A07 move.w D5, D7
00000752 0245 0007 andi.w D5, 0x7
00000756 4281 clr.l D1
00000758 123B 5046 move.b D1, [PC + D5.w + 0x46]
0000075C 3807 move.w D4, D7
label0000075E:
0000075E 5144 subq.w D4, 8
00000760 6F06 ble +0x8 /* 00000768 */
00000762 E189 lsl D1, 8
00000764 4601 not.b D1
00000766 60F6 bra -0x8 /* 0000075E */
label00000768:
00000768 3803 move.w D4, D3
0000076A 5144 subq.w D4, 8
0000076C 4444 neg.w D4
0000076E 0244 0007 andi.w D4, 0x7
00000772 6704 beq +0x6 /* 00000778 */
00000774 E9A8 lsl D0, D4
00000776 E9A9 lsl D1, D4
label00000778:
00000778 C081 and.l D0, D1
0000077A 4681 not.l D1
0000077C 3803 move.w D4, D3
0000077E 5344 subq.w D4, 1
00000780 6D18 blt +0x1A /* 0000079A */
00000782 E64C lsr D4.w, 3
00000784 D0C4 add.w A0, D4
label00000786:
00000786 1410 move.b D2, [A0]
00000788 C401 and.b D2, D1
0000078A 8400 or.b D2, D0
0000078C 1082 move.b [A0], D2
0000078E 5143 subq.w D3, 8
00000790 6F08 ble +0xA /* 0000079A */
00000792 5348 subq.w A0, 1
00000794 E088 lsr D0, 8
00000796 E089 lsr D1, 8
00000798 60EC bra -0x12 /* 00000786 */
label0000079A:
0000079A 4CDF 013F movem.l D0,D1,D2,D3,D4,D5,A0, [A7]+
0000079E 4E75 rts
000007A0 FF01 .extension 0xF01 <<F/4-5/7>> // unimplemented
000007A2 0307 btst D7, D1
000007A4 0F1F btst [A7]+, D7
000007A6 3F7F 2040 move.w [A7 + 0x2040], <<invalid special address>>
label000007AA:
000007AA 4A18 tst.b [A0]+
000007AC 66FC bne -0x2 /* 000007AA */
000007AE 2248 movea.l A1, A0
000007B0 5348 subq.w A0, 1
000007B2 9088 sub.l D0, A0
000007B4 6C0A bge +0xC /* 000007C0 */
000007B6 4440 neg.w D0
000007B8 3200 move.w D1, D0
label000007BA:
000007BA 1320 move.b -[A1], -[A0]
000007BC 5341 subq.w D1, 1
000007BE 6EFA bgt -0x4 /* 000007BA */
label000007C0:
000007C0 1080 move.b [A0], D0
000007C2 4E75 rts
000007C4 2040 movea.l A0, D0
000007C6 2240 movea.l A1, D0
000007C8 4281 clr.l D1
000007CA 1218 move.b D1, [A0]+
000007CC 670A beq +0xC /* 000007D8 */
000007CE 5341 subq.w D1, 1
label000007D0:
000007D0 12D8 move.b [A1]+, [A0]+
000007D2 51C9 FFFC dbf D1, -0x6 /* 000007D0 */
000007D6 4211 clr.b [A1]
label000007D8:
000007D8 2040 movea.l A0, D0
000007DA 4E75 rts
000007DC 4A01 tst.b D1
000007DE 6704 beq +0x6 /* 000007E4 */
000007E0 0042 0400 ori.w D2, 0x400
label000007E4:
000007E4 41FA 0010 lea.l A0, [PC + 0x10 /* 000007F6, value 0x4E75 'Nu', cstring "" */]
000007E8 3082 move.w [A0], D2
000007EA 2040 movea.l A0, D0
000007EC 3003 move.w D0, D3
000007EE 4E71 nop
000007F0 4E71 nop
000007F2 4E71 nop
000007F4 4E71 nop
000007F6 0000 4E75 ori.b D0, 0x75 /* 'u' */